package com.ruoyi.api.model.request;

import lombok.Data;

import java.util.List;

@Data
public class ModuleSubmitReq {

    /**
     * 试卷id
     */
    private Long paperId;

    /**
     * 用户试卷id
     */
    private Long userPaperId;

    /**
     * 模块类型
     */
    private Integer moduleType;

    /**
     * 模块名称
     */
    private String  moduleName;

    //考试类型
    private Integer examType;

    /**
     * 题目集合
     */
    private List<TopicReq> topicList;


    @Data
    public static class TopicReq {

        /**
         * 试卷id
         */
        private Long paperId;

        /**
         * 用户试卷id
         */
        private Long userPaperId;

        /**
         * 题目id
         */
        private Long topicId;

        /**
         * 答案集合
         */
        private List<AnswerReq> answerList;
    }
}
